

/*! \file ntfs_attribute.h
 *  \brief 
 */

#ifndef __NTFS__ATTRIBUTE__H__
#define __NTFS__ATTRIBUTE__H__

PATTRIBUTE_RECORD_HEADER
ntfs_attri_find_in_file_record( 
                                PFILE_RECORD_SEGMENT_HEADER p_record_head, \
                                ATTRIBUTE_TYPE_CODE type_code );

bool ntfs_attri_is_resident( PATTRIBUTE_RECORD_HEADER p_attri );

PBYTE ntfs_attri_get_data_from_mft( 
                                   IN  PNTFS_CONTEXT p_context,    \
                                   IN  PFILE_RECORD_SEGMENT_HEADER p_mft, \
                                   IN  ATTRIBUTE_TYPE_CODE p_attri_type, \
                                   OUT PULONG p_u_size );

#endif